JavaScript

A5.ButtonTogglesetValue Method

Syntax

A5.ButtonToggle.setValue(value[,buttons])

Arguments

valuebooleannumber

The value to set the toggle button to.

buttonsstringelementarray

The specific BUTTON elements to set the value(s) of.

Description

Set the value on some or all of the BUTTON elements bound to the A5.ButtonToggle control.

Example

// assume "playButton" is an A5.ButtonToggle
playButton.setValue(1);